#include "stm32f10x.h" // Device header
#include "Delay.h"
#include "OLED.h"
#include "Encoder.h"

int main(void)
{	
	int16_t Num =0;
	OLED_Init();
	Encoder_Init();
	OLED_ShowString(1, 1, "Num:");
	
	while(1)
	{
		Num += Get_Change();
		OLED_ShowSignedNum(1, 5, Num, 5);
	}
}
